package com.example.utils;

import java.util.UUID;

/**
 * @Description:
 * @Auther: Swain
 * @Date: 2021/1/12 16:58
 * @Version 1.0.0
 */
public class IdUtils {

    /**
     * @Description  UUID生成32位字符ID
     * @param
     * @return java.lang.String
     * @Author swain
     * @Date  2021/1/12
     */
    public static String getRandomId() {
        return UUID.randomUUID().toString().replace("-", "");
    }


}
